package com.zhiyou.app.shop.manager.dao.pojo;

/**
 * OrderDetail entity. @author MyEclipse Persistence Tools
 */

public class OrderDetail extends com.zhiyou.app.shop.manager.dao.pojo.BasePojo implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private GoodsOrder goodsOrder;
	private String goodsId;
	private String goodsName;
	private Float goodsPrice;
	private String goodsImg;
	private Integer amount;

	// Constructors

	/** default constructor */
	public OrderDetail() {
	}


	// Property accessors

	public OrderDetail(GoodsOrder goodsOrder, String goodsId, String goodsName,
			Float goodsPrice, String goodsImg, Integer amount) {
		super();
		this.goodsOrder = goodsOrder;
		this.goodsId = goodsId;
		this.goodsName = goodsName;
		this.goodsPrice = goodsPrice;
		this.goodsImg = goodsImg;
		this.amount = amount;
	}

	public GoodsOrder getGoodsOrder() {
		return this.goodsOrder;
	}

	public void setGoodsOrder(GoodsOrder goodsOrder) {
		this.goodsOrder = goodsOrder;
	}

	public String getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Float getGoodsPrice() {
		return this.goodsPrice;
	}

	public void setGoodsPrice(Float goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getGoodsImg() {
		return goodsImg;
	}

	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}


	public Integer getAmount() {
		return this.amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

}